<?php

/**
 * Interface to end points
 * 
 * @package Saml
 * @subpackage Endpoint
 * @author Hashin Panak <hashinp@gmail.com>
 * @version 1.0
 */
interface Saml_Endpoint_Interface
{
	/**
	 * Sends a message to end point
	 * 
	 * @param Saml_Element_Abstract $endpoint
	 */
	function send(Saml_Endpoint_Abstract $endpoint);
	
	/**
	 * Receives a message from end point
	 * 
	 * @param Saml_Endpoint_Abstract $endpoint
	 */
	function receive(Saml_Endpoint_Abstract $endpoint);
}